import 'package:equatable/equatable.dart';
import 'package:backend.purchases/domain/entities/yookassa_api/payments/yookassa_api_bank_card_info.dart';

class YookassaApiSucceededPaymentMethod extends Equatable {
  const YookassaApiSucceededPaymentMethod({
    required this.id,
    required this.saved,
    required this.test,
    required this.bankCardInfo,
  });

  final String id;
  final bool saved;
  final bool test;
  final YookassaApiBankCardInfo bankCardInfo;

  @override
  List<Object?> get props {
    return [
      id,
      saved,
      test,
      bankCardInfo,
    ];
  }
}
